//
//  NovelDataBase.h
//  UI-20-数据库
//
//  Created by dllo on 15/8/14.
//  Copyright (c) 2015年 蓝欧科技. All rights reserved.
//

#import <Foundation/Foundation.h>
@class StrategyModel;
@class  ShopModel;
@interface NovelDataBase : NSObject
//插入
+ (void)insertWithModel:(StrategyModel *)model;
+ (void)twoinsertWithModel:(ShopModel *)model;
//删除
+ (void)deleteWithMyId:(NSString *)MyId;
+ (void)twodeleteWithMyId:(NSString *)MyId;
//删除model
+ (void)deleteWithModle:(StrategyModel *)modle;
//选中全部

+ (NSArray *)selectedAllMyId;
+ (NSArray *)twoselectedAllMyId;
//查询:1. 查询单个的
+ (BOOL)selectedMyId:(NSString *)MyId;
//查询:2. 查询单个的
+ (BOOL)twoselectedMyId:(NSString *)MyId;

+ (StrategyModel *)selectedAllWithA_id:(NSInteger )myId;
@end
